package cn.lingyangwl.agile.system.assembly;

import cn.lingyangwl.agile.system.model.entity.DiyAppLink;
import cn.lingyangwl.agile.system.model.rqrs.diy.DiyAppLinkResp;
import cn.lingyangwl.agile.system.model.rqrs.diy.DiyAppLinkSaveReq;
import cn.lingyangwl.agile.system.model.rqrs.diy.DiyAppLinkUpdateReq;
import org.mapstruct.Mapper;

/**
 * 移动端菜单
 *
 * @author shenguangyang
 */
@Mapper(componentModel = "spring")
public interface DiyAppLinkAssembly {
  DiyAppLinkResp toLinkResp(DiyAppLink source);
  
  DiyAppLink toLink(DiyAppLinkSaveReq source);
  
  DiyAppLink toLink(DiyAppLinkUpdateReq source);
}
